package cn.cold.face;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class FaceOneToOneApplication implements CommandLineRunner {

	public static void main(String[] args) {
		SpringApplication.run(FaceOneToOneApplication.class, args);
	}

	@Autowired
	  private CheckFace face;
	  
	@Override
	public void run(String... arg0) throws Exception {
			face.Start();
	}
}
